<?php

interface a{
    public function foo();
}

interface b extends a{    //接口的继承
public function baz(Baz $baz);
}

class c implements b{       //接口的实现
    public function foo(){}
    public function baz(Baz $baz){}
}